package com.ztman.router.common.dagger.contract;

import com.ztman.router.common.base.BaseView;
import com.ztman.router.common.core.BaseResponse;
import com.ztman.router.common.presenter.base.AbstractPresenter;
import com.ztman.router.common.presenter.presenter_apis_data.LoginData;

/**
 * @Title:SplashContract
 * @Package:com.ztman.router.common.contract
 * @Description:
 * @Auther:YJH
 * @Email:yuannunhua@gmail.com
 * @Date:2018/5/1117:22
 */
public interface LoginContract {

    interface View extends BaseView{

        void showLoginPrompt();//显示登陆提示
        void showRegisterPrompt();//显示注册提示

        void showLoginFail();//显示登陆失败
        void showRegisterFail();//显示注册失败

        void showLoginSuccessData(BaseResponse<LoginData> loginResponse);//显示登陆成功的数据回调


    }

    interface Presenter extends AbstractPresenter<View>{


    }
}
